/****************************************************
 * 创建人: @author zoujian    
 * 创建时间: 2021-7-27/16:58
 * 项目名称: dfbp-data-manage
 * 文件名称: JavaBaseTest.java
 * 文件描述: @Description: java基础
 *
 * All rights Reserved, Designed By 投资交易团队
 * @Copyright:2016-2021
 *
 ********************************************************/
package com.zj.base;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

/**
 * 包名称：com.zj.base
 * 类名称：JavaBaseTest
 * 类描述：java基础
 * 创建人：@author zoujian
 * 创建时间：2021-7-27/16:58
 */
public class JavaBaseTest extends AbstractClassTest implements Java8InterfaceTest{

    public static void main(String[] args) {
        System.out.println("input:" + getByKeyBoardBuffer());
    }

    private static String getByKeyBoard(){
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        return input;
    }

    private static String getByKeyBoardBuffer()  {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = null;
        try {
            input = br.readLine();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return input;
    }

    @Override
    public String getUserCode() {
        return null;
    }

    @Override
    void printStr() {

    }
}
